
    /**
     * an interceptor for <%= scriptAppName %> module
     *
     */
    $httpProvider.interceptors.push(function($q)
    {
        return {
            'request': function(config)
            {

                return config;
            },
            'requestError': function(rejection)
            {

                return $q.reject(rejection);
            },
            'response': function(response)
            {
                return response;
            },
            'responseError': function(rejection)
            {
                return $q.reject(rejection);
            }
        };
    });
